import request from '@/utils/request'

// 查询活动管理列表
export function listLove(query) {
  return request({
    url: '/system/love/list',
    method: 'get',
    params: query
  })
}

export function listUserLove(query) {
  return request({
    url: '/system/love/listUser',
    method: 'get',
    params: query
  })
}

// 查询活动管理详细
export function getLove(id) {
  return request({
    url: '/system/love/' + id,
    method: 'get'
  })
}
